package cloud.study.eurekafeignclient;

import cloud.study.eurekafeignclient.api.EurekaClientFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import po.User;

@Service
public class HiService {

    @Autowired
    private EurekaClientFeign feign;

    public String sayHi(String name) {
        return feign.hi(name);
    }

    public String testPo(User user) {
        return feign.testPo(user);
    }
}
